.tab{
    width: 1000px;
    margin: 0 auto;
}
ul{
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #ccc;
}
ul li{
    float: left;
    width: 120px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}
ul::after{
    display: block;
    content: "";
    clear: both;
}
.tab_list .current{
    background-color: #000;
    color: #fff;
}
.tab_con>div{
    display: none;
}
.tab_con .current{
    display: block;
}